package com.link2room.jetfire.exception;

import com.link2room.common.dto.result.base.BaseResultDto;
import com.link2room.common.enums.DefaultSysExceptionInterface;
import com.link2room.common.exception.SysException;

/**
 * Created by LN on 2017/2/20.
 */
public class JetfireException extends SysException{
    public JetfireException() {
        super();
    }

    public JetfireException(int code, String message, Throwable cause) {
        super(code, message, cause);
    }

    public JetfireException(int code, String message, String errorType, Throwable cause) {
        super(code, message, errorType, cause);
    }

    public JetfireException(DefaultSysExceptionInterface defaultSysExceptionInterface) {
        super(defaultSysExceptionInterface);
    }

    public JetfireException(DefaultSysExceptionInterface defaultSysExceptionInterface, String appendMessage) {
        super(defaultSysExceptionInterface, appendMessage);
    }

    public JetfireException(DefaultSysExceptionInterface defaultSysExceptionInterface, Throwable cause) {
        super(defaultSysExceptionInterface, cause);
    }

    public JetfireException(int code, String message, String targetService, String targetUri) {
        super(code, message, targetService, targetUri);
    }

    public JetfireException(BaseResultDto baseResultDto, String targetUri) {
        super(baseResultDto, targetUri);
    }

    public JetfireException(int code, String message, String errorType) {
        super(code, message, errorType);
    }

    public JetfireException(int code, Throwable cause) {
        super(code, cause);
    }
}
